FROM java:8
VOLUME /tmp
COPY target/learning_admin.jar admin.jar
RUN bash -c "touch /admin.jar"
EXPOSE 9004
ENTRYPOINT ["java","-jar","admin.jar"]
